package com.example.flowabledemo;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan(basePackages = "com.example.flowabledemo.data.mapper")
@Slf4j
public class FlowableDemoApplication {

  public static void main(String[] args) {
    log.warn("项目开始启动");
    long start = System.currentTimeMillis();
    SpringApplication.run(FlowableDemoApplication.class, args);
    log.warn("启动完成，耗时{}", System.currentTimeMillis() - start);
  }

}
